package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description ="执行用药事件入参类")
public class ExeYaoEventInVO {

    @Schema(description ="id")
    @NotNull(message = "请输入id")
    private Long id;

    @Schema(description ="病人识别号",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "请输入识别号" )
    private String patientIdent;

    @Schema(description ="病人住院号",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "请输入住院号")
    private String hospitalNumber;

    @Schema(description ="药物分组id",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "请输入药物分组id")
    private String groupId;

    @Schema(description ="预执行时间",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "请输入预执行时间")
    private Long  planTime;

    @Schema(description ="事件类型",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "请输入事件类型" )
    private String eventType;

    @Schema(description ="事件时间戳",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "请输入事件时间戳")
    private Long eventTime;

//    @Schema(description ="速度差值",requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "请输入速度差值", )
//    private Integer speed;

    @Schema(description ="当前速度",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "请输入当前速度" )
    private Integer currentSpeed;


}